package com.zhuo.project.k3.dto;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 物料库存信息对象 zz_material_stock
 * 
 * @author ruoyi
 * @date 2020-03-18
 */
@ApiModel("库存实体")
public class ZzMaterialStockDto
{
    private static final long serialVersionUID = 1L;
    

    /** 物料编码 */
    @ApiModelProperty(name = "物料编码")
    private String fmaterialid;

    /** 物料名称 */
    @ApiModelProperty(name = "物料名称")
    private String materialname;

    /** 规格型号 */
    @ApiModelProperty(name = "规格型号")
    private String model;

    /** 描述 */
    @ApiModelProperty(name = "描述")
    private String fUnBaseproperty6;

    /** 仓库编码 */
    @ApiModelProperty(name = "仓库编码")
    private String fstockid;

    /** 仓库名称 */
    @ApiModelProperty(name = "仓库名称")
    private String stockname;

    /** 批号 */
    @ApiModelProperty(name = "批号")
    private String flot;

    /** 生产日期 */
    @ApiModelProperty(name = "生产日期")
    private String fproducedate;

    /** 有效期至 */
    @ApiModelProperty(name = "有效期至")
    private String fexpirydate;

    /** 库存主单位 */
    @ApiModelProperty(name = "库存主单位")
    private String fbaseqty;

    /** 库存量（主单位） */
    @ApiModelProperty(name = "库存量（主单位）")
    private Double fqty;

    /** 可用量（主单位） */
    @ApiModelProperty(name = "可用量（主单位）")
    private Double favbqty;

    /** 库存状态 */
    @ApiModelProperty(name = "库存状态")
    private Integer fstockstatusid;

    /** 库存组织 */
    @ApiModelProperty(name = "库存组织")
    private String fstockorgid;


    public void setFmaterialid(String fmaterialid) 
    {
        this.fmaterialid = fmaterialid;
    }

    public String getFmaterialid() 
    {
        return fmaterialid;
    }
    public void setMaterialname(String materialname) 
    {
        this.materialname = materialname;
    }

    public String getMaterialname() 
    {
        return materialname;
    }
    public void setModel(String model) 
    {
        this.model = model;
    }

    public String getModel() 
    {
        return model;
    }
    public void setfUnBaseproperty6(String fUnBaseproperty6) 
    {
        this.fUnBaseproperty6 = fUnBaseproperty6;
    }

    public String getfUnBaseproperty6() 
    {
        return fUnBaseproperty6;
    }
    public void setFstockid(String fstockid) 
    {
        this.fstockid = fstockid;
    }

    public String getFstockid() 
    {
        return fstockid;
    }
    public void setStockname(String stockname) 
    {
        this.stockname = stockname;
    }

    public String getStockname() 
    {
        return stockname;
    }
    public void setFlot(String flot) 
    {
        this.flot = flot;
    }

    public String getFlot() 
    {
        return flot;
    }
    public void setFproducedate(String fproducedate) 
    {
        this.fproducedate = fproducedate;
    }

    public String getFproducedate() 
    {
        return fproducedate;
    }
    public void setFexpirydate(String fexpirydate) 
    {
        this.fexpirydate = fexpirydate;
    }

    public String getFexpirydate() 
    {
        return fexpirydate;
    }
    public void setFbaseqty(String fbaseqty) 
    {
        this.fbaseqty = fbaseqty;
    }

    public String getFbaseqty() 
    {
        return fbaseqty;
    }
    public void setFqty(Double fqty) 
    {
        this.fqty = fqty;
    }

    public Double getFqty() 
    {
        return fqty;
    }
    public void setFavbqty(Double favbqty) 
    {
        this.favbqty = favbqty;
    }

    public Double getFavbqty() 
    {
        return favbqty;
    }
    public void setFstockstatusid(Integer fstockstatusid) 
    {
        this.fstockstatusid = fstockstatusid;
    }

    public Integer getFstockstatusid() 
    {
        return fstockstatusid;
    }
    public void setFstockorgid(String fstockorgid) 
    {
        this.fstockorgid = fstockorgid;
    }

    public String getFstockorgid() 
    {
        return fstockorgid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("fmaterialid", getFmaterialid())
            .append("materialname", getMaterialname())
            .append("model", getModel())
            .append("fUnBaseproperty6", getfUnBaseproperty6())
            .append("fstockid", getFstockid())
            .append("stockname", getStockname())
            .append("flot", getFlot())
            .append("fproducedate", getFproducedate())
            .append("fexpirydate", getFexpirydate())
            .append("fbaseqty", getFbaseqty())
            .append("fqty", getFqty())
            .append("favbqty", getFavbqty())
            .append("fstockstatusid", getFstockstatusid())
            .append("fstockorgid", getFstockorgid())
            .toString();
    }
}
